tell application "IOWarriorAERelay"
	set result to IsIOWarriorPresent
	if result is equal to false then
		display dialog "IOWarrior not present"
		return
	end if
	-- init the display
	WriteInterface1 reportID 4 byte0 1
	WriteInterface1 reportID 5 byte0 3 byte1 56 byte2 1 byte3 15
	-- write the word "IOWarrior "to the first line
	WriteInterface1 reportID 5 byte0 134 byte1 73 byte2 79 byte3 87 byte4 97 byte5 114 byte6 114
	WriteInterface1 reportID 5 byte0 131 byte1 105 byte2 111 byte3 114
	-- jump to second line of display
	WriteInterface1 reportID 5 byte0 1 byte1 168
	WriteInterface1 reportID 5 byte0 134 byte1 82 byte2 117 byte3 110 byte4 110 byte5 105 byte6 110
	WriteInterface1 reportID 5 byte0 129 byte1 103
	-- move to first position 
	WriteInterface1 reportID 5 byte0 1 byte1 128
	-- request data 12 bytes of data
	WriteInterface1 reportID 6 byte0 140
	--wait until 2 reports have arrived 
	set reportsReceived to 0
	repeat while (reportsReceived < 2)
	repeat while (ReceivedReportCount {}) is 0
		
	end repeat
	ReadInterface1
	set ReportsReceived to ReportsReceived + 1
	end repeat
end tell